package com.liushao.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liushao.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liushao.entity.vo.*;

/**
 * <p>
 * 用户基本信息 服务类
 * </p>
 *
 * @author chen
 * @since 2025-01-03
 */
public interface UserInfoService extends IService<UserInfo> {

    public String getMobileByBindCode(String bindCode);

    public void register(RegisterVO registerVO);

    public UserInfoVO login(LoginVO loginVO, String ip);

    public UserIndexVO getUserIndexVoByUserId(Long userId);

    IPage<UserInfo> listPage(Page<UserInfo> pages, UserInfoQuery userInfoQuery);

    void lock(Long id, Integer status);
}
